home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NT Sources
/
Infomagic - NT Source Volume 1 (Disc 1 of 2).iso
/
network
/
pcdctrla.exe
/
PCDCTRL.EXE
/
PCDPROG.TPU
< prev
next >
Wrap
Text File
|
1997-09-08
|
1KB
|
30 lines
!+++
! PCDUO_PROGMAN_INI.TPU - Updates PROGMAN.INI for PC-Duo
!---
LUT_start_edit (); ! This reads the file (if it exists), creates a buffer,
! and positions us at the top of the buffer
IF LUT_buffer_empty
THEN
MESSAGE ("ERROR : PROGMAN.INI Doesn't exist!");
QUIT;
ENDIF;
! We don't need to check whether PC-Duo is already installed on this PC. If it
! is, then we will simply replace the display driver path with a (new) value.
MESSAGE ("Updating Program Manager Display Driver setting");
LUT_win_line_replace_add ("[settings]", "display.drv", "display.drv=C:\PCDUO\pcdvga.drv");
! We also add a new PC-Duo Group, if it is not already present. The group file
! name is PCDUO.GRP. LUT_insert_group will not add a new PCDUO.GRP if it is
! already there
MESSAGE ("Checking for / Adding a PC-Duo Group");
LUT_insert_group ("PCDUO.GRP", "C:\WINDOWS\PCDUO.GRP");
! And now perform 'standard' finishing functions...
LUT_finish_edit ();